package com.gxar.quick.ar.server.base.model.works.vo.request;

import com.alibaba.fastjson.JSON;
import com.gxar.quick.ar.server.base.model.works.vo.BaseWorksTemplateVO;
import com.gxar.quick.ar.server.base.model.works.vo.WorksTemplateIntroductionVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/2/4 14:17
 */
@Data
@ApiModel("创建作品模板请求")
@EqualsAndHashCode(callSuper = true)
public class WorksTemplateCreateRequest extends BaseWorksTemplateVO {

    @ApiModelProperty("作品id")
    @NotNull(message = "作品ID不能为空")
    private Long worksId;

    @ApiModelProperty("模板介绍")
    @NotNull(message = "作品介绍不能为空")
    private WorksTemplateIntroductionVO introduction;

    @ApiModelProperty("产品类别。0-QuickAR,1-货+AR")
    @NotNull(message = "产品类别不能为空")
    private Integer productCategory;

}


